Optimal. Leaf size=73 \[ \frac{(b c-a d)^3 \log \left (a+b x^2\right )}{2 a^2 b^2}-\frac{c^2 \log (x) (b c-3 a d)}{a^2}-\frac{c^3}{2 a x^2}+\frac{d^3 x^2}{2 b} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.181806, antiderivative size = 73, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ \frac{(b c-a d)^3 \log \left (a+b x^2\right )}{2 a^2 b^2}-\frac{c^2 \log (x) (b c-3 a d)}{a^2}-\frac{c^3}{2 a x^2}+\frac{d^3 x^2}{2 b} \]
Antiderivative was successfully verified.
[In] Int[(c + d*x^2)^3/(x^3*(a + b*x^2)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{d^{3} \int ^{x^{2}} \frac{1}{b}\, dx}{2} - \frac{c^{3}}{2 a x^{2}} + \frac{c^{2} \left (3 a d - b c\right ) \log{\left (x^{2} \right )}}{2 a^{2}} - \frac{\left (a d - b c\right )^{3} \log{\left (a + b x^{2} \right )}}{2 a^{2} b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((d*x**2+c)**3/x**3/(b*x**2+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.060464, size = 75, normalized size = 1.03 \[ \frac{-2 b^2 c^2 x^2 \log (x) (b c-3 a d)+a b \left (a d^3 x^4-b c^3\right )+x^2 (b c-a d)^3 \log \left (a+b x^2\right )}{2 a^2 b^2 x^2} \]
Antiderivative was successfully verified.
[In] Integrate[(c + d*x^2)^3/(x^3*(a + b*x^2)),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.011, size = 114, normalized size = 1.6 \[{\frac{{d}^{3}{x}^{2}}{2\,b}}-{\frac{{c}^{3}}{2\,a{x}^{2}}}+3\,{\frac{{c}^{2}\ln \left ( x \right ) d}{a}}-{\frac{{c}^{3}\ln \left ( x \right ) b}{{a}^{2}}}-{\frac{a\ln \left ( b{x}^{2}+a \right ){d}^{3}}{2\,{b}^{2}}}+{\frac{3\,\ln \left ( b{x}^{2}+a \right ) c{d}^{2}}{2\,b}}-{\frac{3\,\ln \left ( b{x}^{2}+a \right ){c}^{2}d}{2\,a}}+{\frac{b\ln \left ( b{x}^{2}+a \right ){c}^{3}}{2\,{a}^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((d*x^2+c)^3/x^3/(b*x^2+a),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.33891, size = 131, normalized size = 1.79 \[ \frac{d^{3} x^{2}}{2 \, b} - \frac{c^{3}}{2 \, a x^{2}} - \frac{{\left (b c^{3} - 3 \, a c^{2} d\right )} \log \left (x^{2}\right )}{2 \, a^{2}} + \frac{{\left (b^{3} c^{3} - 3 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} - a^{3} d^{3}\right )} \log \left (b x^{2} + a\right )}{2 \, a^{2} b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x^2 + c)^3/((b*x^2 + a)*x^3),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.232795, size = 142, normalized size = 1.95 \[ \frac{a^{2} b d^{3} x^{4} - a b^{2} c^{3} +{\left (b^{3} c^{3} - 3 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} - a^{3} d^{3}\right )} x^{2} \log \left (b x^{2} + a\right ) - 2 \,{\left (b^{3} c^{3} - 3 \, a b^{2} c^{2} d\right )} x^{2} \log \left (x\right )}{2 \, a^{2} b^{2} x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x^2 + c)^3/((b*x^2 + a)*x^3),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 8.89395, size = 63, normalized size = 0.86 \[ \frac{d^{3} x^{2}}{2 b} - \frac{c^{3}}{2 a x^{2}} + \frac{c^{2} \left (3 a d - b c\right ) \log{\left (x \right )}}{a^{2}} - \frac{\left (a d - b c\right )^{3} \log{\left (\frac{a}{b} + x^{2} \right )}}{2 a^{2} b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x**2+c)**3/x**3/(b*x**2+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.224075, size = 162, normalized size = 2.22 \[ \frac{d^{3} x^{2}}{2 \, b} - \frac{{\left (b c^{3} - 3 \, a c^{2} d\right )}{\rm ln}\left (x^{2}\right )}{2 \, a^{2}} + \frac{{\left (b^{3} c^{3} - 3 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} - a^{3} d^{3}\right )}{\rm ln}\left ({\left | b x^{2} + a \right |}\right )}{2 \, a^{2} b^{2}} + \frac{b c^{3} x^{2} - 3 \, a c^{2} d x^{2} - a c^{3}}{2 \, a^{2} x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x^2 + c)^3/((b*x^2 + a)*x^3),x, algorithm="giac")
[Out]